<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2020/4/7
 * Time: 1:31
 */

namespace app\common\validate;


use think\Validate;

class Classes extends Validate
{
    protected  $rule = [
        'name|名称' => 'require',



    ];

    //添加基地场景验证
    public function sceneAdd(){
        return $this->only(['name']);
    }
}